package com.su.edu.api.converter;


import com.su.edu.api.model.req.UserReq;
import com.su.edu.api.model.res.UserVo;
import com.su.edu.application.model.UserDto;
import org.mapstruct.Mapper;

/**
 * @author wangjun
 * @since 2024/6/5 14:20
 */
@Mapper(componentModel = "spring")
public interface UserVoConverter {

    UserVo toVo(UserDto userDto);

    UserDto toDto(UserReq userReq);
}
